@import "hack";

.add {
  width: 80px;
  height: 80px;
  position: fixed;
  bottom: 15px;
  right: 12px;
  .circle {
    width: 25px;
    height: 25px;
    font-size: 25px;
    line-height: 25px;
    text-align: center;
    position: absolute;
    bottom: 0px;
    right: 0px;
    border-radius: 50%;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, .35);
    padding: 2px;
  }
}

#circle1 {
  opacity: 0;
  padding: 2px;
  transition: all .6s .6s;
  background: url(../../static/img/list.png) no-repeat;
  background-position:center;
}

#circle2 {
  padding: 2px;
  opacity: 0;
  transition: all .6s;
  background: url(../../static/img/user_game.png) no-repeat;
  background-position:center;
}

#circle3 {
  padding: 2px;
  opacity: 0;
  transition: all .6s .3s;
  background: url(../../static/img/select.png) no-repeat;
  background-position:center;
}

#circle0 {
  z-index: 88;
  border: 1px solid white;

  animation: mycircle 1s;
  color: white;
  &:hover + #circle1 {
    opacity: 1;
    transform: translateY(-53px);
  }
  &:hover ~ #circle2 {
    opacity: 1;
    transform: translateX(-53px);
  }
  &:hover ~ #circle3 {
    opacity: 1;
    transform: translate(-40px, -40px);
  }
}

@keyframes mycircle {
  from {
    transform: translateY(2.5rem) rotate(360deg);
  }
  to {
    transform: translateY(0px) rotate(0deg);
  }
}

